/**
 * @(#)ApkBaseEnum.java 2016年11月23日
 * Copyright(C) 2016 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.enums;

import java.util.HashMap;
import java.util.Map;

/**
 * 基地类型
 * 
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
public enum ApkBaseEnum {
	MUSIC(0, "音乐"), 
	CARTOON(1, "动漫"),
	VEDIO(2, "视频"), 
	READ(3, "阅读"), 
	SINGLE(4, "单机"),
	OTHER(99, "其他"),
	LINXI(6, "灵犀"),
	MIGUQU(7, "咪咕趣"),
	SHANPAO(8, "善跑"),
	ZHONGXINWANG(19, "中新网"),
	MM(110, "MM"),
	ALI(57, "阿里"),
	TOUTIAO(9,"今日头条"),	
	QDREAD(10,"起点阅读"),	
	MOMO(11,"陌陌"),	
	BAIDU(12,"百度卫士"),		
	YWTYWEIBO(13,"易网天宇微博"),		
	HELLOVOICE(14,"hello语音"),		
	QQDMX(15,"球球大冒险"),		
	MSDZZ(16,"萌鼠大作战"),		
	GDCZZ(17,"格斗城之战"),		
	SSDLZ(18,"蛇蛇大乱战"),		
	JBQP(20,"金博棋牌"),		
	FKDSC(21,"疯狂地鼠城"),		
	TTXCG(22,"天天星闯关"),		
	PHONEBAIDU(23,"手机百度"),		
	MIGUGAME(24,"咪咕游戏"),		
	BROWSER360(25,"360浏览器"),		
	UCYWTY(26,"UC易网天宇"),	
	TDYWTY(27,"土豆易网天宇"),		
	SOUHUNEWS(28,"搜狐新闻"),		
	YIGUAN(29,"易观"),		
	WMCZ(30,"完美彩妆"),		
	TENCENTPHONESTEWARD(31,"腾讯手机管家"),		
	HSVIDEO(32,"火山视频"),		
	DESKTOP91(33,"91桌面"),		
	LTXFD(34,"雷霆小分队"),		
	XGVIDEO(35,"西瓜视频"),		
	DOUYIN(36,"抖音"),		
	CLEAR360(37,"360清理"),		
	HEZIYU(38,"盒子鱼"),		
	KUWOMISIC(39,"酷我音乐"),		
	FHNEWS(40,"凤凰新闻"),		
	HXS(41,"好享瘦"),		
	YDJQ(42,"一点借钱"),		
	BJCY(43,"北京彩易"),		
	GOOGLEAD(44,"谷歌广告"),		
	SOUGOUBROWSER(45,"搜狗浏览器"),		
	TUIA(46,"推啊"),		
	SOUGOUSEARCH(47,"搜狗搜索"),		
	IBOOK17(48,"17k电子书"),		
	YOUMENG(49,"友盟"),		
	JFKZD(50,"飓风空战队"),		
	RQXXL(51,"绒球消消乐"),		
	XINLANGNEWS(52,"新浪新闻"),		
	LIEBAOCLEAR(54,"猎豹清理"),		
	CQC(53,"楚乔传"),		
	BMvideo(54,"八闽视频"),		
	MOJIweather (56,"墨迹天气"),		
	HEJIAXC(58,"和家相册"),		
	LIVE(59,"直播"),		
	QSYY(60,"趣说英语"),		
	QCDT(61,"汽车头条"),		
	MAIMAI(62,"脉脉"),		
	TENCENT(63,"腾讯新闻");
	
	private int type;
	private String name;

	private ApkBaseEnum(int type, String name) {
		this.type = type;
		this.name = name;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	private static Map<Integer, ApkBaseEnum> map = new HashMap<Integer, ApkBaseEnum>();

	static {
		for (ApkBaseEnum apkBaseEnum : ApkBaseEnum.values()) {
			map.put(apkBaseEnum.type, apkBaseEnum);
		}
	}

	public static ApkBaseEnum valueOf(int type) {
		return map.get(type);
	}
}
